package com.coder4j.platform.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import java.util.Date;
import lombok.Data;

/**
 * 内容表，笔记、文章、教程等 Excel导出对象
 * @author keller
 * @date 2025-05-31 19:08:27
 */
@Data
public class SysContentEO{

    @ExcelProperty(value = "ID")
    @ColumnWidth(25)
    private Long id;

    @ExcelProperty(value = "标题")
    @ColumnWidth(25)
    private String title;

    @ExcelProperty(value = "内容")
    @ColumnWidth(25)
    private String content;

    @ExcelProperty(value = "分组ID")
    @ColumnWidth(25)
    private Long groupId;

    @ExcelProperty(value = "分组名称")
    @ColumnWidth(25)
    private String groupName;

    @ExcelProperty(value = "状态：draft 草稿；published 已发布；deleted 已删除（回收站）")
    @ColumnWidth(25)
    private String status;

    @ExcelProperty(value = "标签，多个标签英文逗号隔开")
    @ColumnWidth(25)
    private String tags;

    @ExcelProperty(value = "创建人ID")
    @ColumnWidth(25)
    private Long createId;

    @ExcelProperty(value = "创建人名称")
    @ColumnWidth(25)
    private String createName;

    @ExcelProperty(value = "创建时间")
    @ColumnWidth(25)
    private Date createTime;

    @ExcelProperty(value = "修改人ID")
    @ColumnWidth(25)
    private Long updateId;

    @ExcelProperty(value = "修改人名称")
    @ColumnWidth(25)
    private String updateName;

    @ExcelProperty(value = "修改时间")
    @ColumnWidth(25)
    private Date updateTime;


}